package com.easysoft.framework.copyright.mapper;

import com.easysoft.framework.beans.Page;
import com.easysoft.framework.copyright.model.CopyrightQuery;
import com.easysoft.framework.copyright.model.CopyrightView;
import com.easysoft.framework.stereotype.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository("mapper.CopyrightMapperExtd")
public interface CopyrightMapperExtd extends SysCopyrightMapper {
    int selectCountCopyright(@Param("query") CopyrightQuery query);

    List<CopyrightView> selectCopyrightByPage(@Param("page") Page page, @Param("query") CopyrightQuery query);
}
